// 对单位换算的管理

export const area = (num: number) => {
  let one = "";
  if (num < 1) {
    one = num * 1000 + "立方分米";
  } else if (num < 1000) {
    one = num + "立方米";
  } else if (1000 < num) {
    one = num / 1000 + "千立方米";
  }
  return one;
};
